import React, {ReactNode} from 'react';
import { Button } from 'choerodon-ui/pro';
import { ButtonColor } from 'choerodon-ui/pro/lib/button/enum';

const ModalFooter: ((okBtn: ReactNode, cancelBtn: ReactNode) => ReactNode) | ReactNode | boolean = (okBtn, cancelBtn) => {
  return (
    <div>
      {okBtn}
      <Button color={ButtonColor.primary}>Custom</Button>
      {cancelBtn}
    </div>
  );
};

export default ModalFooter;